package jp.chiheisen.popuptail.tail;

import java.util.EventObject;

public class TailEvent extends EventObject {
    private static final long serialVersionUID = 1L;

    private final byte[] tail;

    public TailEvent(Tail source, byte[] tail) {
        super(source);

        if(tail == null){
            throw new NullPointerException("tail");
        }

        this.tail = tail;
    }

    public byte[] getTail(){
        return tail;
    }
}